package com.weetop.akly.bean;

import com.weetop.akly.utils.StarView.StringUtils;

import java.util.List;

public class ApproveInfoBean {

    /**
     * info : {"id":9,"model_id":1,"code":"2020050036","create_time":1589198506,"update_time":1589198506,"status":0,"apply_user_id":2,"apply_user_name":"王小明","apply_user_type":1,"apply_user_dept":"总经办","title":"补卡申请"}
     * process : [{"item_id":1,"leader_id":2,"leader_name":"王小明","sort":0,"status":0,"create_time":1589198506,"opinion":""}]
     * form : [{"form_name":"原因","form_sort":"0","form_value":"忘记打卡","source_type":0,"source_data":"","save_type":1},{"form_name":"操作考勤","form_sort":"0","form_value":"1","source_type":0,"source_data":"","save_type":1},{"form_name":"状态","form_sort":"1","form_value":"考勤状态","source_type":0,"source_data":"","save_type":1},{"form_name":"补卡日期","form_sort":"2","form_value":"2020-05-11","source_type":0,"source_data":"","save_type":1},{"form_name":"补卡时间","form_sort":"3","form_value":"18:00","source_type":0,"source_data":"","save_type":1},{"form_name":"附件","form_sort":"4","form_value":"无","source_type":0,"source_data":"","save_type":1}]
     */

    private InfoBean info;
    private List<ProcessBean> process;
    private List<FormBean> form;

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public List<ProcessBean> getProcess() {
        return process;
    }

    public void setProcess(List<ProcessBean> process) {
        this.process = process;
    }

    public List<FormBean> getForm() {
        return form;
    }

    public void setForm(List<FormBean> form) {
        this.form = form;
    }

    public static class InfoBean {
        /**
         * id : 9
         * model_id : 1
         * code : 2020050036
         * create_time : 1589198506
         * update_time : 1589198506
         * status : 0
         * apply_user_id : 2
         * apply_user_name : 王小明
         * apply_user_type : 1
         * apply_user_dept : 总经办
         * title : 补卡申请
         */

        private int id;
        private int model_id;
        private String code;
        private int create_time;
        private int update_time;
        private int status;
        private int apply_user_id;
        private String apply_user_name;
        private int apply_user_type;
        private String apply_user_dept;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getModel_id() {
            return model_id;
        }

        public void setModel_id(int model_id) {
            this.model_id = model_id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getApply_user_id() {
            return apply_user_id;
        }

        public void setApply_user_id(int apply_user_id) {
            this.apply_user_id = apply_user_id;
        }

        public String getApply_user_name() {
            return apply_user_name;
        }

        public void setApply_user_name(String apply_user_name) {
            this.apply_user_name = apply_user_name;
        }

        public int getApply_user_type() {
            return apply_user_type;
        }

        public void setApply_user_type(int apply_user_type) {
            this.apply_user_type = apply_user_type;
        }

        public String getApply_user_dept() {
            return apply_user_dept;
        }

        public void setApply_user_dept(String apply_user_dept) {
            this.apply_user_dept = apply_user_dept;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class ProcessBean {
        /**
         * item_id : 1
         * leader_id : 2
         * leader_name : 王小明
         * sort : 0
         * status : 0
         * create_time : 1589198506
         * opinion :
         */

        private int item_id;
        private int leader_id;
        private String leader_name;
        private int sort;
        private int status;
        private String create_time;
        private String opinion;

        public int getItem_id() {
            return item_id;
        }

        public void setItem_id(int item_id) {
            this.item_id = item_id;
        }

        public int getLeader_id() {
            return leader_id;
        }

        public void setLeader_id(int leader_id) {
            this.leader_id = leader_id;
        }

        public String getLeader_name() {
            return leader_name;
        }

        public void setLeader_name(String leader_name) {
            this.leader_name = leader_name;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String  getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getOpinion() {
            return opinion;
        }

        public void setOpinion(String opinion) {
            this.opinion = opinion;
        }
    }

    public static class FormBean {
        /**
         * form_name : 原因
         * form_sort : 0
         * form_value : 忘记打卡
         * source_type : 0
         * source_data :
         * save_type : 1
         */

        private String form_name;
        private String form_sort;
        private String form_value;
        private int source_type;
        private Object source_data;
        private int save_type;

        public String getForm_name() {
            return form_name;
        }

        public void setForm_name(String form_name) {
            this.form_name = form_name;
        }

        public String getForm_sort() {
            return form_sort;
        }

        public void setForm_sort(String form_sort) {
            this.form_sort = form_sort;
        }

        public String getForm_value() {
            return form_value;
        }

        public void setForm_value(String form_value) {
            this.form_value = form_value;
        }

        public int getSource_type() {
            return source_type;
        }

        public void setSource_type(int source_type) {
            this.source_type = source_type;
        }

        public Object getSource_data() {
            return source_data;
        }

        public void setSource_data(Object source_data) {
            this.source_data = source_data;
        }

        public int getSave_type() {
            return save_type;
        }

        public void setSave_type(int save_type) {
            this.save_type = save_type;
        }
    }
}
